package com.gridmobi.xrtb.domain.dsp;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class DspAdvertisers {
    private Long id;
    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss")
    private Date updatetime;

    private String advname;

    private String advdomain;
    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    private String advsite;

    private Integer state;

    private Integer deleteflag;
    /**
     * 统计信息DTO
     */
    private DspStatisticsDay statistics ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getAdvname() {
        return advname;
    }

    public void setAdvname(String advname) {
        this.advname = advname == null ? null : advname.trim();
    }

    public String getAdvdomain() {
        return advdomain;
    }

    public void setAdvdomain(String advdomain) {
        this.advdomain = advdomain == null ? null : advdomain.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getAdvsite() {
        return advsite;
    }

    public void setAdvsite(String advsite) {
        this.advsite = advsite == null ? null : advsite.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDeleteflag() {
        return deleteflag;
    }

    public void setDeleteflag(Integer deleteflag) {
        this.deleteflag = deleteflag;
    }

    public DspStatisticsDay getStatistics() {
        return statistics;
    }

    public void setStatistics(DspStatisticsDay statistics) {
        this.statistics = statistics;
    }
}